package com.wuhuahe.learning.lagou.service.resume.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Configuration
@RefreshScope
public class OtherConfig {

    @Value("${test.config1}")
    private String testConfig1;


    @Value("${test.config2}")
    private boolean testConfig2;

    @Value("${aaaa}")
    private String aaa;

    @Value("${cccc}")
    private String ccc;

    public String getTestConfig1() {
        return testConfig1;
    }

    public boolean isTestConfig2() {
        return testConfig2;
    }

    public String getAaa() {
        return aaa;
    }

    public String getCcc() {
        return ccc;
    }
}
